import { ApiProperty } from '@nestjs/swagger';
import { IsBoolean } from 'class-validator';

export class UpdateRoleOffDto {
  @IsBoolean()
  @ApiProperty({
    description: '是否启用',
    required: true,
  })
  off: boolean;
}
